package hn.cch.async.task;


import hn.cch.async.controller.AsyncController;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 定制任务
 */
public class CustomizeTask implements Runnable {

    private static final Logger logger = LoggerFactory.getLogger(AsyncController.class);


    public String taskName;
    public String taskCorn;


    @Override
    public void run() {
        logger.info("taskName:{}", this.taskName);
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTaskCorn() {
        return taskCorn;
    }

    public void setTaskCorn(String taskCorn) {
        this.taskCorn = taskCorn;
    }
}
